package com.example.emqx.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.emqx.entity.User;
import com.example.emqx.mapper.MybatisOneToManyMapper;
import com.example.emqx.service.MybatisOneToManyService;
import org.springframework.stereotype.Service;

@Service
public class MybatisOneToManyServiceImpl extends ServiceImpl<MybatisOneToManyMapper, User> implements MybatisOneToManyService {

    @Override
    public User selectOne(Integer userId) {
        return baseMapper.selectOne(userId);
    }
}
